<?php

require_once 'Zend/Form/Element/Textarea.php';

class Core_Form_Element_Markitup extends Zend_Form_Element_Textarea
{
    /**
     * Initialize object; inherited from Zend_Form_Element_Textarea
     *
     * @return void
     */
    public function init()
    {
        parent::init();
        $this->setAttrib('class', 'markItUp')
             ->setDecorators(array('Composite'))
             ->addFilter('StripSlashes');
    }
}